package com.taa.domain.trade.service;

import com.taa.domain.trade.model.entity.OrderEntity;
import com.taa.domain.trade.model.entity.ProductEntity;

import java.util.List;

/**
 * @author: taa
 * @Desc: 订单处理接口
 * @create: 2025-06-02 13:45
 **/
public interface IOrderService {

    OrderEntity createOrder(String userName, List<ProductEntity> productEntityList);


    List<OrderEntity> queryOrderByUserName(String userName);
}
